﻿<?
#error_reporting(0);
#include "domain_lookup.php";
include("../config/header.php");
?>
<script type='text/javascript'>
	document.title = '在线繁体转简体';
</script>
<div class="container">
	<div class="panel panel-primary">
		<div class="panel-heading"><h3 class="panel-title">繁体转简体</h3></div>
	</div

	<div class="form-group">
		
		<div class="col-sm-10 centerd">
		<label class="col-sm-2 control-label" for="domain">翻译内容：</label>
			<textarea class="form-control" name="S1" rows="10" cols="86" id="trans" value="<?php echo $trans;?>" placeholder="请输入文字"></textarea>
		</div>
	</div>
</div>
	<!--<div class="form-group">
		<form action="" class="form-horizontal" role="form"> 
			<div class="form-group">
				<label class="col-sm-2 control-label" for="domain">域名/IP：</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" name="domain" id="domain" value="<?php echo $domain;?>" placeholder="请输入域名">
				</div>
			</div> -->
			<div class="form-group">

				<div class="col-sm-offset-1 col-sm-8">
<br>
					<button type="submit" class="btn btn-lg btn-primary btn-block" onclick="search(document.getElementById('trans').value)">查询</button>
				</div>
			</div>
	<!--	</form>-->

<script>
function search(value)
{
//alert(value);

self.location.href="http://translate.google.cn/#zh-TW/zh-CN/"+value;
}
</script>
<?php
include("../config/footer.php");
?>
